﻿using System;
using Iot.RealTimeData.RealTimeData;
using Iot.Shared.Path;

namespace Iot.RealTimeData.RealTimeDataEvent;

public interface IRealTimeData<in T, out T1> : IInspection
    where T1 : IShowValue<T>, ISetValue<T>
{
    T1 GetValue(DevicePath path);

    void SetValue(DevicePath path, T value, DateTimeOffset timeStamp);
}